package com.jeff.tianti.cms.service;

import com.jeff.tianti.cms.dao.ArticleDao;
import com.jeff.tianti.cms.dao.FriendShipLinkDao;
import com.jeff.tianti.cms.dto.ArticleQueryDTO;
import com.jeff.tianti.cms.dto.ColumnInfoQueryDTO;
import com.jeff.tianti.cms.dto.CurrentArticleInfoDTO;
import com.jeff.tianti.cms.dto.FriendShipLinkDTO;
import com.jeff.tianti.cms.entity.Article;
import com.jeff.tianti.cms.entity.ColumnInfo;
import com.jeff.tianti.cms.entity.FriendShipLink;
import com.jeff.tianti.common.entity.PageModel;
import com.jeff.tianti.common.service.CommonService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author xujianfang
 * @desc ArticleService类 
 * @date 2017-03-16
 */
@Service
public class FriendShipLinkService extends CommonService<FriendShipLink,String >  {

    @Autowired
    private FriendShipLinkDao friendShipLinkDao;

    @Autowired
    public void setArticleDao(FriendShipLinkDao articleDao){
      super.setCommonDao(articleDao);
    }

    public PageModel<FriendShipLink> queryFriendShipLinkPage(FriendShipLinkDTO friendShipLinkDTO){
        return this.friendShipLinkDao.queryFriendShipPage(friendShipLinkDTO);
    }



}